package com.xyyl.patient.entity.user;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @projectName:xyyl-patient-service
 * @ClassName: AccountRecord
 * @Description: 账户充值
 * @author chens
 * @date 2017年8月18日
 *
 */
public class AccountRecord implements Serializable{
 
	private static final long serialVersionUID = 1L;

	private Integer id;

    private BigDecimal amount;

    private Integer changetype;

    private Integer consumetype;

    private String createtime;

    /**收入类型：1：充值 2:订单退款 **/
    private Integer incometype;

    private String ordersn;

    private BigDecimal totalamountAfter;

    private BigDecimal totalamountBefore;

    private Integer patientid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getChangetype() {
        return changetype;
    }

    public void setChangetype(Integer changetype) {
        this.changetype = changetype;
    }

    public Integer getConsumetype() {
        return consumetype;
    }

    public void setConsumetype(Integer consumetype) {
        this.consumetype = consumetype;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime == null ? null : createtime.trim();
    }

    public Integer getIncometype() {
        return incometype;
    }

    public void setIncometype(Integer incometype) {
        this.incometype = incometype;
    }

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn == null ? null : ordersn.trim();
    }

    public BigDecimal getTotalamountAfter() {
        return totalamountAfter;
    }

    public void setTotalamountAfter(BigDecimal totalamountAfter) {
        this.totalamountAfter = totalamountAfter;
    }

    public BigDecimal getTotalamountBefore() {
        return totalamountBefore;
    }

    public void setTotalamountBefore(BigDecimal totalamountBefore) {
        this.totalamountBefore = totalamountBefore;
    }

    public Integer getPatientid() {
        return patientid;
    }

    public void setPatientid(Integer patientid) {
        this.patientid = patientid;
    }
}